package com.zxp.springcloud.controller;

import com.zxp.springcloud.services.ImessageProvider;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @description:
 * @author: 张新朋
 * @time: 2020/5/8 11:29
 */
@RestController
public class SendMessageController {
    @Resource
    private ImessageProvider imessageProvider;

    @GetMapping("/sendMessage")
    public String send(){
        return imessageProvider.send();
    }
}